package com.jt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jt.pojo.User;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
//@Mapper
//继承接口之后，必须添加泛型对象 否则程序无法执行
public interface UserMapper extends BaseMapper<User> {

    List<User>findAll();

}
